//
//  YSEmoticonTopBar.h
//  YSEmoticonKeyboard
//
//  Created by MOLBASE on 2017/12/21.
//  Copyright © 2017年 YangShen. All rights reserved.
//

#import <UIKit/UIKit.h>

@class YSEmoticonTopBar, YSEmoticonKeyBoard;

@protocol YSTopBarDelegate <NSObject>

/** 发送消息 */
- (void)emoticonTopBar:(YSEmoticonTopBar *)topBar sendMessage:(NSString *)message;
/** 键盘改变刷新父视图 */
- (void)emoticonTopBarUpdateSuperView;

@end

@interface YSEmoticonTopBar : UIView

@property (nonatomic, weak) id <YSTopBarDelegate> delegate;

@property (nonatomic, strong) YSEmoticonKeyBoard *emoticonKeyBoard;

@property (nonatomic, strong) UITextView *textView;

@property (nonatomic, strong) UIButton *emotionButton;

@property (nonatomic, assign) CGFloat duration;

/** 改变输入框 */
//- (void)resetSubviews;

@end
